<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Profile");
$this->breadcrumbs=array(
	UserModule::t("Profile"),
);
?><h2><?php echo UserModule::t('Your profile'); ?></h2>
<?php //echo $this->renderPartial('menu'); ?>

<?php if(Yii::app()->user->hasFlash('profileMessage')): ?>
<div class="success">
<?php echo Yii::app()->user->getFlash('profileMessage'); ?>
</div>
<?php endif; ?>
<table class="dataGrid table table-striped table-bordered table-condensed">
	<!--head>
		<tr>
			<th>#</th>
			<th>Thoo</th>
			<th>Last Name</th>
		</tr>
	</thead-->
	<?php $i=1; ?>
	<tr>
		<td><?=$i;$i++?></td>
		<th class=""><?php echo CHtml::encode($model->getAttributeLabel('userName')); ?>
		</th>
		<td><?php echo CHtml::encode($model->userName); ?>
		</td>
	</tr>
	<tr>
		<td><?=$i;$i++?></td>
		<th><?php echo CHtml::encode($model->getAttributeLabel('email')); ?>
		</th>
		<td><?php echo CHtml::encode($model->email); ?>
		</td>
	</tr>
	<tr>
		<td><?=$i;$i++?></td>
		<th><?php echo CHtml::encode($model->getAttributeLabel('firstName')); ?>
		</th>
		<td><?php echo $model->firstName; ?>
		</td>
	</tr>
	<tr>
		<td><?=$i;$i++?></td>
		<th><?php echo CHtml::encode($model->getAttributeLabel('lastName')); ?>
		</th>
		<td><?php echo $model->lastName; ?>
		</td>
	</tr>
	<tr>
		<td><?=$i;$i++?></td>
		<th><?php echo CHtml::encode($model->getAttributeLabel('role')); ?>
		</th>
		<td><?php echo CHtml::encode($model->role);?>
		</td>
	</tr>
</table>
